package com.wlyuan.open.scanner.domain.transport.mapping;

import org.mapstruct.Mapping;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * @author lijing
 * @description
 */
@Retention(RetentionPolicy.CLASS)
@Mapping(target = "score.score", source = "indexAssesslevel")
@Mapping(target = "score.scoreDesc", source = "indexAssessment")
@Mapping(target = "score.scoreLabel", source = "indexAssessment")
public @interface ScoreMapping {
}
